//
//  HotModel.m
//  rubaoduanzi
//
//  Created by 郝志华 on 16/9/13.
//  Copyright © 2016年 郝志华. All rights reserved.
//

#import "HotModel.h"

@implementation HotModel
- (instancetype)initWithDict:(NSDictionary *)dict{
    if (self=[super init]) {
        _coin=dict[@"coin"];
        _photo=dict[@"photo"];
        _content=dict[@"content"];
        _pic=dict[@"pic"];
        _userName=dict[@"userName"];
        _userTitle=dict[@"userTitle"];
        _userLevel=dict[@"userLevel"];
        _integral=dict[@"integral"];
        _up=dict[@"up"];
        _down=dict[@"down"];
        _cmtNum=dict[@"cmtNum"];
        _height=dict[@"width"];
        _width=dict[@"width"];
    }
    return self;
}
+ (instancetype)hotModelWithDict:(NSDictionary *)dict{
    return [[self alloc]initWithDict:dict];
}
@end
